/**   
 * 项目名：五位一体化工安全信息平台
 * 日期：    2019-12-03 14:14:47  
 * Copyright (c) 2015- joysuch-版权所有     
 */
package com.joysuch.wwyt.bp.service;

import com.joysuch.wwyt.bp.bean.BpIndustrialPipelineBean;
import com.joysuch.wwyt.bp.bean.BpIndustrialPipelineListBean;
import com.joysuch.wwyt.bp.entity.BpIndustrialPipeline;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface BpIndustrialPipelineService {

    public void add(BpIndustrialPipelineBean entity);

    void update(BpIndustrialPipelineBean entity);

    Page<BpIndustrialPipelineListBean> findByPage(Pageable page, String name,Integer currentState);
    
    void delete(Long id);

    BpIndustrialPipeline findById(Long id);

    BpIndustrialPipelineBean getById(Long id);
}
